import { CommonObj } from './global';

export interface User extends CommonObj {
  id: string;
  nickname: string;
  sex: number;
  birthday: string;
  phone: string;
  idType: string;
  idNo: string;
  province: string;
  city: string;
  parent: string;
  parentEmail: string;
  parentTel: string;
  profile: string;
  nation: string;
  userId: string;
  sign?: number;
  diffCardPic?: string;
  coinScore: number;
  trainingCenterId?: string;
  teacherId?: string;
  ageType: number;
  userType: number;
  best: number;
  unReal: number;
  manual: number;
}

export interface UserSearchParams {
  userType?: number;
  city?: string;
  province?: string;
  phone?: string;
  nickname?: string;
  valid?: number;
  sex?: number;
  ageType?: number;
  includeUnreal?: number;
  unReal?: number;
}
